/*河南星辰软件科技有限公司
@copyright Copyright (c) 2010~2022 All rights reserved.
*/
package cn.javaxc.system.action.system;
import java.io.*;
import java.util.*;
import java.sql.*;
import cn.javaxc.model.base.SQL;
import cn.javaxc.model.base.SQLList;
import cn.javaxc.model.base.SQLMap;
import cn.javaxc.model.base.SQLParam;
import cn.javaxc.model.page.BatisPage;
import cn.javaxc.mvcwork.controller.web.TreeBean;
import cn.javaxc.mvcwork.util.common.CommonUtil;
import cn.javaxc.mvcwork.util.common.MapListUtil;
import cn.javaxc.mvcwork.util.helper.FrameHelper;
import cn.javaxc.mvcwork.util.helper.TreeTableHelper;
import org.springframework.beans.factory.annotation.Autowired;
import cn.javaxc.system.action.base.BaseAction;
import cn.javaxc.system.mapper.system.DeploySystemMapper;
public class DeploySystem extends BaseAction
{
    @Autowired(required=false)
	private DeploySystemMapper mapper;
    /**
    通讯设置
    */
    
    public Map deployCommSet() {
        
        Map result=new HashMap();
        SQLParam params=new SQLParam(request,result);
        
        SQLList<SQLMap> s_site_info=mapper.s_site_info(params);
        SQLMap s_site_info_emt=s_site_info.getExistfirst();
        result.put("s_site_info", s_site_info_emt);
        
        return result;
    }
    /**
    修改
    */
    
    public Map deployCommSetUp() {
        
        Map result=new HashMap();
        SQLParam params=new SQLParam(request,result);
        
        SQLList<SQLMap> s_site_info=mapper.s_site_info(params);
        SQLMap s_site_info_emt=s_site_info.getExistfirst();
        result.put("s_site_info", s_site_info_emt);
        
        return result;
    }
    /**
    默认设置
    */
    
    public Map deployDefaultSet() {
        
        Map result=new HashMap();
        SQLParam params=new SQLParam(request,result);
        
        SQLList<SQLMap> s_site_info=mapper.s_site_info(params);
        SQLMap s_site_info_emt=s_site_info.getExistfirst();
        result.put("s_site_info", s_site_info_emt);
        
        
        
        return result;
    }
    /**
    修改
    */
    
    public Map deployDefaultSetUp() {
        
        Map result=new HashMap();
        SQLParam params=new SQLParam(request,result);
        
        SQLList<SQLMap> s_site_info=mapper.s_site_info(params);
        SQLMap s_site_info_emt=s_site_info.getExistfirst();
        result.put("s_site_info", s_site_info_emt);
        
        return result;
    }
    /**
    公司Logo设置
    */
    
    public Map deployLogeSet() {
        
        Map result=new HashMap();
        SQLParam params=new SQLParam(request,result);
        
        SQLList<SQLMap> s_files=mapper.s_files(params);
        result.put("s_files", s_files);
        
        
        
        return result;
    }
    /**
    增加logo图标
    */
    
    public Map deployLogeSetAdd() {
        
        Map result=new HashMap();
        SQLParam params=new SQLParam(request,result);
        
        SQLList<SQLMap> s_site_info=mapper.s_site_info(params);
        SQLMap s_site_info_emt=s_site_info.getExistfirst();
        result.put("s_site_info", s_site_info_emt);
        
        return result;
    }
    /**
    修改修改
    */
    
    public Map deployCommSetUpSubmit() {
        
        Map result=new HashMap();
        SQLParam params=new SQLParam(request,result);
        
        int u_site_info = mapper.u_site_info(params);
        result.put("u_site_info", u_site_info);
        
        return result;
    }
    /**
    修改修改
    */
    
    public Map deployDefaultSetUpSubmit() {
        
        Map result=new HashMap();
        SQLParam params=new SQLParam(request,result);
        
        int u_site_info = mapper.u_site_info(params);
        result.put("u_site_info", u_site_info);
        
        return result;
    }
    /**
    */
    
    public Map d_file() {
        
        Map result=new HashMap();
        SQLParam params=new SQLParam(request,result);
        
        mapper.d_file(params);
        
        return result;
    }
    /**
    */
    
    public Map u_file() {
        
        Map result=new HashMap();
        SQLParam params=new SQLParam(request,result);
        
        mapper.u_file(params);
        
        return result;
    }
}